package com.kjc.demo.basic.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 **/

@Data
@Configuration
@ConfigurationProperties(prefix = "ftp")
public class FTPConfig {

	/**
	 * 
	 */
	private FTPHost ccab;

	@Data
	public static class FTPHost {
		private String host;
		private String port;
		private String username;
		private String password;
		private String remotePath;
		private String localPath;
	}
}
